﻿using System;
using System.Collections.Generic;
using System.Text;
//
using System.ServiceModel;
using DO.Common.DTOs;

namespace DO.Common.ServiceContracts
{
    [ServiceContract(Namespace = "http://www.jerves.net/CustomerServices")]
    public interface ICustomerService
    {
        [OperationContract]
        CustomerDTO CreateNewCustomer(CustomerDTO customer);

        [OperationContract]
        CustomerDTO GetByIdentity(long identity);

        [OperationContract]
        CustomerDTO UpdateCustomer(CustomerDTO customer);

        [OperationContract]
        CustomerDTOs FindAll();
    }

}